//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package 力扣.题库.未分类;

public class demo_1470 {
    public demo_1470() {
    }

    public int[] shuffle(int[] nums, int n) {
        int[] res = new int[2 * n];
        int index = 0;

        for(int i = 0; i < n; ++i) {
            res[index++] = nums[i];
            res[index++] = nums[n + i];
        }

        return res;
    }
}
